package model.race;

public class Participant {
    private int id;
    private String riderName;
    private String horseName;

    public Participant(String riderName,String horseName) {
        this.riderName = riderName;
        this.horseName = horseName;
    }

    public int getId() {
        return id;
    }

    @Override
    public String toString() {
        return String.format("%s %s",riderName,horseName);
    }
}
